/**
 * Created by gantian on 2016/12/22.
 */
var express=require('express');
var router=express.Router();
router.get('/',function(req,res,next){
    res.render('./login/login');
})
router.post('/login',function(req,res,next){
  console.log("sdss");

  console.log(req.param("account"));
  console.log(req.body.account);
  console.log(req.body);
  res.render('./index/index');
})
module.exports=router;
